package top.infopub.dubbo.vo.mgc;


import java.util.Map;

import top.infopub.generic.GenericEntity;


/**
 * 消息聚合发送vo
 * @author Awoke
 * @version 2018年9月20日
 * @see MsgSenderVo
 * @since
 */
public class MsgSenderVo extends GenericEntity {

    private static final long serialVersionUID = 4352906873786423737L;

    /**
     * 发送模板主表code
     */
    private String templateMainCode;

    /**
     * template渲染内容参数值
     */
    private Map<String, Object> contentParam;

    /**
     * 【有此字段将发送短信】 </br>
     * 手机号码 ，如果模板主表有发送短信时带上，只支持单个手机号码
     */
    private String telNo;

    /**
     * 【有此字段将发送邮件】</br>
     * 邮件地址，如果模板主表有发送邮件时带上，多个邮件地址用","分割
     */
    private String mailAddress;

    /**
     * 邮件发送， 相对路径 如果模板主表有发送邮件以及需要附件时带上，多个附件用","分割
     */
    private String attachLocation;

    /**
     * 来源系统，可以忽略
     */
    private String sourceSystem;

    public String getAttachLocation() {
        return attachLocation;
    }

    /** 设置邮件附件地址，发送邮件需要附件时带上，多个附件用","分割  **/
    public void setAttachLocation(String attachLocation) {
        this.attachLocation = attachLocation;
    }

    public String getTemplateMainCode() {
        return templateMainCode;
    }

    public void setTemplateMainCode(String templateMainCode) {
        this.templateMainCode = templateMainCode;
    }

    public String getSourceSystem() {
        return sourceSystem;
    }

    public void setSourceSystem(String sourceSystem) {
        this.sourceSystem = sourceSystem;
    }

    public String getTelNo() {
        return telNo;
    }

    public void setTelNo(String telNo) {
        this.telNo = telNo;
    }

    public String getMailAddress() {
        return mailAddress;
    }

    public void setMailAddress(String mailAddress) {
        this.mailAddress = mailAddress;
    }

    public Map<String, Object> getContentParam() {
        return contentParam;
    }

    public void setContentParam(Map<String, Object> contentParam) {
        this.contentParam = contentParam;
    }

}
